﻿using Abp.Domain.Entities;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Batman.Cms.Domains
{
    [Table("ArticleType")]
    public class ArticleType : Entity<int>
    {
        [MaxLength(255)]
        public string Title { get; set; }

        [MaxLength(255)]
        public string Description { get; set; }

        public int ParentId { get; set; }

        public int Status { get; set; }

        public List<Article> Articles { get; set; }
    }
}
